body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    margin: 0;
    padding-bottom: 10px;
}

.header nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 10px;
}
.header nav a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f0f0f0;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

a {
    color: #337ab7;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], select {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Important */
}

input[type="submit"] {
    background-color: #5cb85c;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #4cae4c;
}

label {
    display: block;
    margin-bottom: 5px;
}
form p {
    margin-bottom: 15px;
}
.search-form {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}
.search-form input[type="text"] {
    width: 200px; /* 或者根据需要调整 */
    margin-right: 10px;
}
.search-form input[type="submit"] {
    padding: 8px 12px; /* 调整按钮大小 */
}
.button-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #5bc0de; /* 示例颜色 */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-left: 10px;
}
.button-link:hover {
    background-color: #31b0d5;
}
